package com.usian.admin.controller.v2;

import com.usian.admin.service.AdSensitiveService;
import com.usian.apis.admin.AdSensitiveControllerApi;
import com.usian.apis.admin.AdSensitiveControllerApi2;
import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v2/AdSensitive")
@CrossOrigin
public class AdSensitiveController2 implements AdSensitiveControllerApi2 {
    @Autowired
    private AdSensitiveService adSensitiveService;

    @PostMapping("/dels2")
    @Override
    public ResponseResult dels2(@RequestBody Integer[] ids) {
        return adSensitiveService.dels(ids);
    }


}
